package com.weipai.springboot.model;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.UUID;

/**
 * 商品实体类
 */
@Table(name = "c_goods")
public class Goods {
    
    @Id
    private String goodsId= UUID.randomUUID().toString();

    private String skuNumber;

    private String goodsName;

    private String spuNumber;

    private String shopId;

    private Integer isNews=0;

    private Integer isBoutique=0;             //是否精品，默认为0,1表示精品',

    private Integer soldOutGoods=0;

    private Integer waringValue;

    private Integer idDefault;

    private Integer goodsStatus=0;

    private Integer goodsDel=0;

    private String goodsSpec;

    private Integer costPrice;

    private Integer originalPrice;

    private Integer currentPrice;

    private Integer isSolr;   //是否添加到solr 索引库

    private Integer skuNumberFlag;

    public Integer getSkuNumberFlag() {
        return skuNumberFlag;
    }

    public void setSkuNumberFlag(Integer skuNumberFlag) {
        this.skuNumberFlag = skuNumberFlag;
    }

    public Integer getIsSolr() {
        return isSolr;
    }

    public void setIsSolr(Integer isSolr) {
        this.isSolr = isSolr;
    }

    public Integer getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Integer originalPrice) {
        this.originalPrice = originalPrice;
    }

    public Integer getCurrentPrice() {
        return currentPrice;
    }

    public void setCurrentPrice(Integer currentPrice) {
        this.currentPrice = currentPrice;
    }

    public String getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec;
    }

    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public Integer getGoodsDel() {
        return goodsDel;
    }

    public void setGoodsDel(Integer goodsDel) {
        this.goodsDel = goodsDel;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId == null ? null : goodsId.trim();
    }

    public String getSkuNumber() {
        return skuNumber;
    }

    public void setSkuNumber(String skuNumber) {
        this.skuNumber = skuNumber == null ? null : skuNumber.trim();
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getSpuNumber() {
        return spuNumber;
    }

    public void setSpuNumber(String spuNumber) {
        this.spuNumber = spuNumber == null ? null : spuNumber.trim();
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId == null ? null : shopId.trim();
    }

    public Integer getIsNews() {
        return isNews;
    }

    public void setIsNews(Integer isNews) {
        this.isNews = isNews;
    }

    public Integer getIsBoutique() {
        return isBoutique;
    }

    public void setIsBoutique(Integer isBoutique) {
        this.isBoutique = isBoutique;
    }

    public Integer getSoldOutGoods() {
        return soldOutGoods;
    }

    public void setSoldOutGoods(Integer soldOutGoods) {
        this.soldOutGoods = soldOutGoods;
    }

    public Integer getWaringValue() {
        return waringValue;
    }

    public void setWaringValue(Integer waringValue) {
        this.waringValue = waringValue;
    }

    public Integer getIdDefault() {
        return idDefault;
    }

    public void setIdDefault(Integer idDefault) {
        this.idDefault = idDefault;
    }


    public Integer getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(Integer costPrice) {
        this.costPrice = costPrice;
    }
    

}